package mr.ali.video.web.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 腾讯云COS配置类
 */
@Configuration
public class TencentCosConfig {

    /**
     * 密钥ID
     */
    @Value("${tencent.cos.secret-id}")
    private String secretId;

    /**
     * 密钥Key
     */
    @Value("${tencent.cos.secret-key}")
    private String secretKey;

    /**
     * 区域
     */
    @Value("${tencent.cos.region}")
    private String region;

    /**
     * 存储桶名称
     */
    @Value("${tencent.cos.bucket-name}")
    private String bucketName;

    public String getSecretId() {
        return secretId;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public String getRegion() {
        return region;
    }

    public String getBucketName() {
        return bucketName;
    }
}
